package com.hehua.web.decorator.demo1;

public class ConcreteDecoratorB extends Decorator{
    @Override
    public void Operation() {
        component.Operation();
        addedBehavior();
        System.out.println("装饰对象B");
    }
    private void addedBehavior(){

    }
}
